# #129 API Token generation UI

- URL: https://superails.com/posts/rails-7-129-api-token-generation-ui
- Published: 2023-05-03
- Duration: 16:21
- Access: free
- Topics: create api key, api development, rails api
- Playlists: Rails REST API

Allow users to generate and disable API tokens. Users can view the secret token only once, when it is generated using Turbo Streams

API tokens are used for Bearer Authentication to the public API that we are building in this app.

Episode source code: https://github.com/corsego/129-api-tokens-management-ui/commit/c846e088f74f0fbd9fbb4239fe8d292a7b357b51

0:00 Summary of what we built before 
1:22 API token generation on Github
2:45 Display API tokens
5:18 Create API token
9:11 Deactivate API token

## Chapters

- 0:00 Summary of what we built before
- 1:22 API token generation on Github
- 2:45 Display API tokens
- 5:18 Create API token
- 9:11 Deactivate API token
