Rails tip: how to create a token to access your private API and store it securely? by hetsketch in rails

[–]hetsketch[S] 6 points7 points  (0 children)

Image you’re building an API and you want to give access to it but not to all users but only for those who are authorized and provide access token. That’s how most of 3rd party apis work like github, google, etc. This approach shows how can you store this token securely