mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-05 03:33:24 +08:00
This change replaces all `Tile`s in the docs with lists of links. This achieves two things: - Helps us move toward a more text-focused look and feel for the docs. See gravitational/docs#93. - Makes it easier to reorganize the docs. Currently, there's no linting for internal links in `Tile` hrefs (See gravitational/docs#100). I used this script to edit each docs page, invoking the script for all MDX files in docs/pages: ``` gawk ' BEGIN{inopentag=0; indesc=0; desc=""; title=""; href="";} /<\/?TileSet>/{next;} /<Tile/ { inopentag=1; } inopentag==1 && /title=/{ title=gensub(/.*title="([^"]+)".*/, "\\1", "g", $0); } inopentag==1 && /href=/{ href=gensub(/.*href="([^"]+)".*/, "\\1", "g", $0); } inopentag==1 && />/ { inopentag=0; indesc=1; next; } indesc==1 && !/<\/Tile/{ gsub(/(\n|\t|\s{2,})/," ",$0); desc=desc ($0); next; } /<\/Tile/{ print "- [" title "](" href "):" desc; indesc=0; desc=""; title=""; href=""; next; } inopentag==0 && indesc==0{ print $0 } ' $1 > "$1.tmp"; cat "$1.tmp" > "$1"; rm "$1.tmp"; ``` I then cleaned up each file changed by the script and fixed any incorrect URLs.
13 lines
497 B
Plaintext
13 lines
497 B
Plaintext
---
|
|
title: Application Access JWT Authentication
|
|
description: Guides for using Teleport Application Access JWT authentication.
|
|
layout: tocless-doc
|
|
---
|
|
|
|
These guides explain how web apps behind Teleport Application Access can
|
|
leverage Teleport-signed JWT tokens to implement authentication and
|
|
authorization.
|
|
|
|
- [Introduction](./jwt/introduction.mdx): Introduction to JWT tokens with Application Access.
|
|
- [Elasticsearch](./jwt/elasticsearch.mdx): How to use JWT authentication with Elasticsearch.
|