Skip to content

Comments

User API generator for XenForo#134

Open
Redbot wants to merge 1 commit intoxfrocks:xenforo2from
Redbot:xenforo2_apigen
Open

User API generator for XenForo#134
Redbot wants to merge 1 commit intoxfrocks:xenforo2from
Redbot:xenforo2_apigen

Conversation

@Redbot
Copy link

@Redbot Redbot commented Sep 25, 2020

Creates and returns a unique Xenforo API key for user after oauth at index.php?users/<id>/api

I don't expect this to be merged as I'm sure it could be made better, but I wanted you to see it as an idea.

@daohoangson
Copy link
Contributor

This looks good. But you were using XF built-in API?!

If you are already using that system, it will be better if you do something similar to this within the built-in API I think. Why do you need another api for this?

@Redbot
Copy link
Author

Redbot commented Sep 25, 2020

We need bdAPI for oauth. Xenforo doesn't have oauth yet... right?

@daohoangson
Copy link
Contributor

Ah I see, you need OAuth and then fallback to built-in API for actual work. That makes so much sense! I'll see what I can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants