Doorkeeper Devise API User Authentication | Ruby On Rails 7 Tutorial

preview_player
Показать описание
This tutorial covers creating a Rails authentication solution that allows you to login to your regular Rails app AND your Rails API! This solution is scalable for multiple API's, and includes solutions to common problems such as logins from mobile devices and issuing client ID and client secrets.

In the future, this tutorial will hopefully be used to create more advanced React, Vue, and React Native API applications.

Join this channel to help support these videos:

Follow me on social media:

Join this channel to get access to perks:

Timestamps
0:00 Intro And Doorkeeper Multi-Access Demo
3:10 Creating The Core Rails Application
13:03 Adding Doorkeeper To The Rails Application
25:08 Create The API Application Controller
27:12 Creating The API Only Books Controller Facade/BFF
30:30 Creating The Doorkeeper API Users Registrations Controller
42:06 Creating The Android API, Admin Only Facade/BFF
45:57 User and Oauth Token Creation And Revokation.
55:14 Adding Rack-Cors Gem To Restrict Access By IP/Request

#Deanin #Software #Programming
Рекомендации по теме
Комментарии
Автор

Also a big thank you to the channel members/patreon supporters who encourage me to stay up all night making these videos haha. You're all the best!

Deanin
Автор

That’s some good stuff here. At the moment you probably make the most useful content in the rails community.

Mixesha
Автор

Thank you dean! i can't wait for the next content

xarxlugner
Автор

Thanks for sharing!

I hope we get the react video soon!

matthewruvalcaba
Автор

OMG yes!
this... pretty much this...
you sir are the man!

orce
Автор

Hi, Can you just explain the requirement of oauth_access_grants table?

sayambar
Автор

Great content! Thanks a lot man... One thing that I don't quite understand was why did you create a namespace and a scope in your routes, what was the point? Thanks a lot!

cleversonluizcorreiadesouz
Автор

Thanks for the video! For production, should we add a separate controller to create Doorkeeper::Application per client so that we don't expose the client_id ('Web Client' client_id)?

mundotennis
Автор

Thank you so much for posting this video!! ❤️

nadbwah
Автор

Amazing video ! What kind of rails application did you generate ? Did you use the --api arguments ?

v_gauther
Автор

Very helpful. Just subscribed your channel. Thank you very much.

nshinsuke
Автор

Hi, can you export your postman api config and add it to the repo too? It would be much easier then

salalalalalala
Автор

hai dean, can you make pure backend rails for like todos app and conect to react website

jouzou
Автор

Thanks a lot.
Not easy to complete as other tutorials.
May be to improve it, you could show at the beginning the final result that we want to get.
Then start developing it ?

dbdb
Автор

If you believe in God existence, He is surely guiding you, because this video arrives just in time, when I started my research about Api auth on r7 thank you so much for you and for mr nejdetkadir for providing this project

marcusl
Автор

Thank you so much for this tutorial! ❤

ingemarandrade