Devise Token Auth
Gosu
Devise Token Auth | Gosu | |
---|---|---|
7 | 15 | |
3,507 | 1,975 | |
- | 0.5% | |
4.5 | 6.8 | |
12 days ago | 15 days ago | |
Ruby | C++ | |
Do What The F*ck You Want To Public License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Devise Token Auth
-
Managing redirects to a subdomain after authentication in a React/Rails application using React Router
I have a React single page application using React Router that hooks into a Rails 5 API. The Rails application uses devise_token_auth for authentication. I've successfully created an authentication process that stores the user state in a Redux store on the client side.
-
Is it possible to retrieve the user index with devise ?
Did you send an authorization header with your api call? The error is pretty clear — the request is unauthorized. Devise is expecting session cookies, but your api should use tokens. https://github.com/lynndylanhurley/devise_token_auth
-
Don't make me think, or why I switched to Rails from JavaScript SPAs
I mentioned Identity in my first comment. I've never found it as simple as Devise though - especially in an API only setting.
With Devise there's a third-party Gem you can use called devise_token_auth which deals with everything automatically.
https://github.com/lynndylanhurley/devise_token_auth
-
Working around un-maintained redux-token-auth for redux and react 17 upgrade
redux-token-auth is a great library. What it mainly does is it provides a plug and play auth implementation functionality for ruby on rails based APIs which implement popular devise_token_auth for auth handling.
-
Rails API Authentication with JWT Options
have you looked at https://github.com/waiting-for-dev/devise-jwt or https://github.com/lynndylanhurley/devise_token_auth
-
Best project setup for Rails+React with "remember me" feature
I'd prefer to have a standalone rails API and a react client separately, but that's not mandatory. I discovered a gem called devise_token_auth and it didn't seem to have refresh tokens but it refreshed the tokens on every request anyway so I was pretty happy with it.
-
Devise, The Swiss Army Knife of Rails User Authentication.
As a side note, also check out devise_token_auth here
Gosu
-
Crystal2Day: A simple 2D game framework in Crystal
For the beginning, it will be a simple 2D game library (or glorified SDL wrapper :D), similar to Ruby libraries like https://www.ruby2d.com/ or https://www.libgosu.org/ , albeit with some additional functions typical to 2D games (like scenes, maps, entities, ...) available. This is something I'm still missing in Crystal (there are some bindings for C libraries and some early or abandoned approaches, but that's about it).
-
My Ruby game library, MiniGL, has surpassed 100,000 total downloads
Sorry, I just realized that I only linked to Gosu's Linux instructions, but in their wiki there's also a page for Windows and another one for Mac OS.
-
ruby2d vs pygame
I didn't use these frameworks but if you want to go with Ruby, I would recommend Gosu, which is more active than Ruby2D (they have a pretty active Discord server). Since it's a bit low-level, you could also use my gem MiniGL which builds on Gosu to make a lot of things easier, and I also actively maintain.
- Don't make me think, or why I switched to Rails from JavaScript SPAs
-
My solo-developed, Ruby powered, platformer game Super Bombinhas will be available soon on Steam!
By the way, it's worth mentioning that there's a .deb for Debian-based distros that you can get for free on https://victords.itch.io/super-bombinhas. Also, if you're willing to do a bit more work, you should also be able to run it on Mac - you'd just have to install Ruby and the Gosu and MiniGL gems, then clone the game's repo and follow the Readme.
- Video-sources for learning Ruby from scratch
-
Started working on an isometric RPG project
Hi! I've wanted to create an RPG inspired by the first Paper Mario games for a long time, but having to deal with 3D graphics was always a blocker for me... So I finally managed to create an isometric 3D "engine" using only 2D libraries (Gosu and MiniGL) and I'm happy with the results so far.
-
Libraries for other languages similar to Ebiten?
Gosu (Ruby)
-
What game engine is good for ruby?
I've not used it myself in about 5 years but it looks like they have a pretty good tutorial on getting started on their wiki https://github.com/gosu/gosu/wiki/Ruby-Tutorial
-
A small sample of the large amount of content from the free and open source 2D platformer Super Bombinhas, written in Ruby. Download on https://victords.itch.io/super-bombinhas
Neither, I use Gosu and my own little library, MiniGL.
What are some alternatives?
JWT - A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.
ruby2d - 🎨 The Ruby 2D gem
Devise - Flexible authentication solution for Rails with Warden.
Gamebox - A game template for building and distributing Gosu apps.
Doorkeeper - Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
Yeah - Ruby video game framework
devise-jwt - JWT token authentication with devise and rails
ocra - One-Click Ruby Application Builder
Knock - Seamless JWT authentication for Rails API
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]
OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.
minigl - A minimal Game Library built on top of the Gosu gem.