Need help creating the_authToken "SECRET_TOKEN"
mopinon opened this issue · 2 comments
mopinon commented
Hi, I am making my wrapper to integrate Verdaccio with Unity based on your plugin.
I have a problem with creating a _authToken.
As I understand the algorithm of actions:
- Request a user's GitHub identity
https://github.com/login/oauth/authorize?client_id={value}&scope=read%23org,repo
- Getting code from github
{my-host-ip}/-/oauth/callback?code={code-from-github}
- Create string
{username}:{code-from-github}
- AES encrypt this string (What is the key?)
- Convert to Base64 string. (Will the result be an _authToken?)
Thanks in advance for your help!
Thanks for the plugin!
n4bb12 commented
Hi
I'm not sure what you are trying to do here.
Are you using this plugin?
Then there should not be any need to implement the above steps.
Are you looking for advice on how to implement a plugin of your own?
Then I'd recommend checking the Verdaccio docs.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.